package middlewares

import (
  "fmt"

  "github.com/gin-gonic/gin"
)

type UserMiddleware struct {
}

func NewUserMiddleware() *UserMiddleware {
  return &UserMiddleware{}
}

func (this *UserMiddleware) RequestError(ctx *gin.Context) error {
  fmt.Println("this is middleware")
  return nil
}
